<?php

return [

'route'=>[
	'_class'=>'froyo\\cherry\\web\\Route',
	'defaultModule'=>'blog',
	'defaultController'=>'Index',
	'defaultAction'=>'index',
],

'compoments'=>[
	'database'=>[
		'_class'=>'froyo\\cherry\\Db\\DbComment',
		'config'=>[
			'database'=>'test',
			'username'=>'root',
			'perfix'=>'t_',
		],
		'query'=>'froyo\\cherry\\Db\\Query',
		'connection'=>'froyo\\cherry\\Db\\Connection',
	],

],
'logger'=>[
	'_class'=>'froyo\\cherry\\Logger\\FileLogger',
],
'modules'=>[
	'blog'=>'\\app\\blog\\Blog',
],

'langFactory'=>[
	'_class'=>'froyo\\cherry\\Base\\LangFactory',
	'lang'=>'zh-cn',
],

'params'=>require __DIR__.'/params.php',
];